From: Ken Raeburn Date: Tue, 16 Jul 2002 15:49:24 +0000 (+0000) Subject: * insdel.c (insert_from_string_1): Use SDATA. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31628 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8e9dcc506f2c2593eb11a8133a2c718b58f6ce79;p=emacs.git * insdel.c (insert_from_string_1): Use SDATA. --- diff --git a/src/insdel.c b/src/insdel.c index 9639adbf0fd..3b13df12c4a 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -1111,7 +1111,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes, outgoing_nbytes = nchars; else if (! STRING_MULTIBYTE (string)) outgoing_nbytes - = count_size_as_multibyte (&SREF (string, pos_byte), + = count_size_as_multibyte (SDATA (string) + pos_byte, nbytes); GCPRO1 (string);